package com.redstars.generate.config;

/**
 * @author : zhouhx
 * @date : 2022/10/5 20:44
 */
public enum DbStatusEnum {
    SUCCESS(1,"连接成功"),FAIL(0,"连接失败");

    private Integer code;
    private String text;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    DbStatusEnum(Integer code,String text){
        this.code = code;
        this.text = text;
    }
}
